package com.zhuhjay.common.netty.interceptor;

import com.corundumstudio.socketio.SocketIOClient;

/**
 * 监听器拦截器
 *
 * @author ZhuHJay
 * @date 2023/7/11 11:21
 */
public interface ListenerInterceptor {

    /**
     * 拦截器
     *
     * @param client    客户端
     * @param someThing 业务逻辑
     */
    void intercept(SocketIOClient client, Runnable someThing);

}
